package com.boot.proofing.mpweb.business.entity;/**
 * @description
 * @autor xbwu on 2017/8/12.
 */


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.boot.core.entity.BaseMPTreeEntity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;


/**
 * 菜单表
 * @author xbwu
 * @create 2017-08-12
 **/
@Table(name = "t_menu")
@TableName("t_menu")
@Data
public class Menu extends BaseMPTreeEntity<Menu> {

    /**
     * 子菜单是否展开
     */
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "spread",type = MySqlTypeConstant.INT)
    private Boolean spread;

}
